				<g:hasErrors bean="${role}">
				<div class="alert alert-danger fade in">
					<g:renderErrors bean="${role}" as="list" />
				</div>
				</g:hasErrors>
				<g:form action="save">
					<g:if test="${role}">
				
					<input type="hidden" id="id" name="id" value="${role.id}">
				</g:if>	
				
				<div class="row col-lg-10 ">
				
				<div class="form-group">
					<div class="input-group">
						<span class="input-group-addon"><i class="fa fa-info fa-lg fa-fw"></i></span>
						<input class="form-control input-lg" placeholder="Authority Code" type="text" name="authority" id="authority" value="${role?.authority}">
		
					</div>
				</div>
				
				</div>
				<div class="row col-lg-10 ">
				
				<div class="form-group">
					<div class="input-group">
						<span class="input-group-addon"><i class="fa fa-info fa-lg fa-fw"></i></span>
						<input class="form-control input-lg" placeholder="Descrizione" type="text" name="label" id="label" value="${role?.label}">
		
					</div>
				</div>
				
				
				
				
				</div>
				<div class="row col-lg-10 ">
				
				<div class="form-group">
					<div class="input-group">
						<span class="input-group-addon"><i class="fa fa-info fa-lg fa-fw"></i></span>
						<input class="form-control input-lg" placeholder="Priorità" type="number" name="priority" id="priority" value="${role?.priority}">
		
					</div>
				</div>
				</div>
			<div class="row ">
			<div class="col-lg-5 ">
				
				<div class="form-group">
					<div class="input-group">
						<button type="submit" class="btn btn-primary"><g:if test="${role}">Aggiorna</g:if><g:else>Salva</g:else></button>
						
					</div>
				</div>
				</div>
				<g:if test="${role}">
				<div class="col-lg-5 ">
				
				<div class="form-group">
					<div class="input-group">
						
						<g:actionSubmit class="btn btn-primary" action="delete" value="Cancella" />
					</div>
				</div>
				</div>
				</g:if>
			</div>	
				
				</g:form>
